<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
    <?php 
        $breadCum = array(
            array(
                'title' => $nodeType['NodeType']['name'],
                'link' => 'news',
                'params' => array('tin-tuc-my')
            ),
            array(
                'title' => $term['Term']['name'],
                'link' => null,
                'params' => null
            )
        );
    ?>
    <?php echo $this->element('breadcum',array('pass' => $breadCum));?>
    <!-- block 2 -->
    <div class="block-tab">
        <div class="tabpanel-cus" role="tabpanel">
            <!-- Nav tabs -->
            <ul class="nav nav-tabs mytabs-cus mytabs-nbdcus">
                <li class="item active"><a href="#item-11" data-toggle="tab"><?php echo $term['Term']['name'];?></a></li>
            </ul>
            <!-- Tab panes -->
            <div class="tab-content">
                <div class="tab-pane tab-pane-bgtop fade in active" id="item-11">
                    <div class="tabs-pane-content-full">
                        <?php if(!empty($content)):?>
                            <ul class="list-news list-news-sm">
                                <?php foreach($content as $key => $values):?>
                                    <?php if((!empty($values['Node']['field_attach_file']))&&(file_exists(WWW_ROOT . '/img/' . $values['Node']['field_attach_file']))):?>
                                        <li class="list-news-item">
                                            <a href="<?php echo $this->Html->webroot('/img/' . $values['Node']['field_attach_file']);?>" class="list-thumbnail-content" target="_blank">
                                                <span class="title"><?php echo $values['Node']['title'];?></span>
                                            </a>
                                        </li>
                                        <?php endif;?>
                                    <?php endforeach;?>
                            </ul>
                            <div class="paging-ct">
                                <ul class="pagination">
                                    <?php echo $this->Paginator->numbers(array('separator' => '&nbsp;','tag' => 'li','currentClass' => 'active')); ?>
                                </ul>
                            </div>
                            <?php else:?>
                            <?php echo $this->element('msg_data');?>
                            <?php endif;?>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- block 2 .end -->
</div>